package com.ytjj.qmyx.admin.client;

import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.admin.model.request.MessageRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("ygyx-data")
public interface DataClient {

    @GetMapping("/refreshCache/refreshPathCode")
    void refreshPathCode();

    @PostMapping("/myApiController/reSendMsg")
    CommonResult reSendMsg(@RequestBody MessageRequest request);


}
